package org.parade;

public class Constant {
	/**
	 * prefix for all id
	 */
	public static final String ID_PREFIX = "PARADE-";

	
	/**
	 * Used when creating Condition, id is generated based on lock.id + ID_POSTFIX_CONDITION
	 */
	public static final String ID_POSTFIX_CONDITION = "-CONDITION";

	/**
	 * Used when creating lock (from thread), id is generated based on lock.id + ID_POSTFIX_LOCK
	 */
	public static final String ID_POSTFIX_LOCK = "-CONDITION";
	
	/**
	 * for distributed threading system
	 */
	public static final String ID_GLOBAL_THREAD_CREATION_QUEUE = "PARADE_ID_GLOBAL_THREAD_CREATION_QUEUE";
	public static final String ID_GLOBAL_THREAD_CREATION_LOCK = "PARADE_ID_GLOBAL_THREAD_CREATION_LOCK";

}
